/*
 * @Description:
 * @Version: 1.0
 * @Autor: gaoluo
 * @Date: 2021-08-21 11:02:36
 * @LastEditors: gaoluo
 * @LastEditTime: 2021-08-21 11:29:13
 * @FilePath: /nianhuawan/src/router/module/util.js
 */

export default function (pre, module) {
  return module.forEach(item => {
    item.path = pre + item.path
  })
}